void update_mat()
None
None
This function updates the mat and mat_t matrices to represent the rotation defined by the X, Y and Z local system axis. If the axes are changed, this function needs to be called in order to have the mat and mat_t variables updated.